import React, { PureComponent, StrictMode } from 'react'

class Home extends PureComponent {
  constructor() {
    super()
    console.log('Home---')
  }
  render() {
    return <div>Home</div>
  }
}

class About extends PureComponent {
  constructor() {
    super()
    console.log('About---')
  }
  render() {
    return <div>About</div>
  }
}

export class App extends PureComponent {
  render() {
    return (
      <div>
        <Home />
        <StrictMode>
          <About />
        </StrictMode>
      </div>
    )
  }
}

export default App